package edu.jd.movieplatform.info.movie.dao;

import edu.jd.movieplatform.info.movie.Movie;
import edu.jd.movieplatform.info.movie.MovieDto;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface MovieInfoDao {


    List<Movie> findMovieListByCondition(MovieDto dto);


    List<Movie> findMovieName();

    @Select("select * from movie " + "where mov_label like CONCAT('%',#{label},'%') ")
    List<Movie> movieListByLabel(String label);
}
